<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="centre/manage/include :: header"></head>

<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<div class="form-horizontal m-t" id="signupForm">
							<input type="hidden" th:value="${centre.centreId}" id="centreId" name="centreId">
							<table class="table table-bordered table-condensed">
								<tbody>
								<tr>
									<th class="required" style="text-align: right;">商户名称:</th>
									<td th:text="${centre.name}"></td>

									<th class="required" style="text-align: right;">简称:</th>
									<td th:text="${centre.shortName}"></td>
								</tr>
								<tr>
									<th class="required" style="text-align: right;">商户类型:</th>
									<td th:text="${centre.type} == '1'? '企业':'个人'">
									</td>
									<th class="required" style="text-align: right;">官网:</th>
									<td th:text="${centre.network}"> </td>
								</tr>

								<tr>
									<th class="required" style="text-align: right;">注册地址:</th>
									<td colspan="3" th:text="${centre.registAddress}"></td>
								</tr>
								<tr>
									<th class="required" style="text-align: right;">开户行:</th>
									<td th:text="${centre.depositBank}"></td>

									<th class="required" style="text-align: right;">开户行账号:</th>
									<td th:text="${centre.bankNo}"></td>
								</tr>
								<tr>
									<th class="required" style="text-align: right;">营业执照编号:</th>
									<td th:text="${centre.busiLicense}"></td>
									
									<th class="required" style="text-align: right;">经营类别:</th>
									<td th:text="${centre.busiCategory}"></td>
								</tr>

								<tr>
									<th class="required" style="text-align: right;">注册资金(万):</th>
									<td th:text="${centre.registCapital}"></td>
									<th class="required" style="text-align: right;">注册日期:</th>
									<td th:text="${centre.registDate} == null?null:${#dates.format(centre.registDate,'yyyy-MM-dd HH:mm:ss')}"></td>
								</tr>
								<tr>
									<th class="required" style="text-align: right;">法人姓名:</th>
									<td th:text="${centre.legalName}"></td>

									<th class="required" style="text-align: right;">法人身份证:</th>
									<td th:text="${centre.legalNo}"></td>
								</tr>
								<tr>
									<th class="required" style="text-align: right;">控制人:</th>
									<td th:text="${centre.controller}"></td>

									<th class="required" style="text-align: right;">控制人身份证:</th>
									<td th:text="${centre.controllerNo}"></td>
								</tr>

								<tr>
									<th class="required" style="text-align: right;">账户管理人:</th>
									<td th:text="${centre.relateAccount}"></td>

									<th class="required" style="text-align: right;">账户管理办公电话:</th>
									<td th:text="${centre.accountTel}"></td>
								</tr>

								<tr>
									<th class="required" style="text-align: right;">账户管理手机:</th>
									<td th:text="${centre.accountMobile}"></td>

									<th class="required" style="text-align: right;">账户管理邮箱:</th>
									<td th:text="${centre.accountEmail}"></td>
								</tr>

								<tr>
									<th class="required" style="text-align: right;">业务联系人:</th>
									<td th:text="${centre.relateBusi}"></td>

									<th class="required" style="text-align: right;">业务联系办公电话:</th>
									<td th:text="${centre.busiTel}"></td>
								</tr>

								<tr>
									<th class="required" style="text-align: right;">业务联系手机:</th>
									<td th:text="${centre.busiMobile}"></td>

									<th class="required" style="text-align: right;">业务联系邮箱:</th>
									<td th:text="${centre.busiEmail}"></td>
								</tr>
								<tr th:unless="${centre.centreAmount} == null">
									<th class="required" style="text-align: right;">账户余额:</th>
									<td th:text="${centre.centreAmount.amount}"></td>

									<th class="required" style="text-align: right;">冻结余额:</th>
									<td th:text="${centre.centreAmount.frozenAmount}"></td>
								</tr>
								<tr>
									<th style="text-align: right;">备注:</th>
									<td colspan="3" th:text="${centre.desc}">

									</td>
								</tr>
								</tbody>
							</table>
							<div class="form-group text-center">
								<div class="col-sm-8 col-sm-offset-2">
									<div class="btn btn-danger" onclick="closeDow()"><i class="fa fa-remove"></i> 关闭</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

	</div>
	<div th:include="centre/manage/include::footer"></div>
	<script type="text/javascript" src="/js/appjs/centre/manage/edit.js"></script>
	<script type="text/javascript">
		function closeDow() {
			var index = parent.layer.getFrameIndex(window.name); // 获取窗口索引
			parent.layer.close(index);
		}
	</script>
</body>
</html>
